package cn.edu.hznu.dao;

import cn.edu.hznu.domain.QueryVo;
import cn.edu.hznu.domain.User;

import java.util.List;

/**
 * Created by wjj on 2020/3/30
 */
public interface IUserDao {
    List<User>findAll();

    void addUser(User user);

    void updateUser(User user);

    void deleteUser(Integer id);

    User findUserById(Integer id);

    List<User>findUserByName(String name);

    Integer findAllUser();

    List<User>findUserByVo(QueryVo vo);
}
